package com.unlcn.ils.kas.dao.model.order;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 接口日志表
 * </p>
 *
 * @author qichao
 * @since 2018-03-13
 */
@TableName("kas_interface_log")
public class KasInterfaceLog extends Model<KasInterfaceLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 接口名称
     */
	@TableField("interface_name")
	private String interfaceName;
    /**
     * 接口URL
     */
	@TableField("interface_url")
	private String interfaceUrl;
    /**
     * 返回结果
     */
	private String result;
    /**
     * 返回描述
     */
	@TableField("result_desc")
	private String resultDesc;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建人
     */
	private String createor;
    /**
     * 请求方
     */
	@TableField("request_user")
	private String requestUser;
    /**
     * 备注
     */
	private String remark;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getInterfaceName() {
		return interfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}

	public String getInterfaceUrl() {
		return interfaceUrl;
	}

	public void setInterfaceUrl(String interfaceUrl) {
		this.interfaceUrl = interfaceUrl;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getResultDesc() {
		return resultDesc;
	}

	public void setResultDesc(String resultDesc) {
		this.resultDesc = resultDesc;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateor() {
		return createor;
	}

	public void setCreateor(String createor) {
		this.createor = createor;
	}

	public String getRequestUser() {
		return requestUser;
	}

	public void setRequestUser(String requestUser) {
		this.requestUser = requestUser;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "KasInterfaceLog{" +
			", id=" + id +
			", interfaceName=" + interfaceName +
			", interfaceUrl=" + interfaceUrl +
			", result=" + result +
			", resultDesc=" + resultDesc +
			", createTime=" + createTime +
			", createor=" + createor +
			", requestUser=" + requestUser +
			", remark=" + remark +
			"}";
	}
}
